﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JGSoft.U9CRTAPIEX.DTOs.RequestDTOs
{
    public class ItemSaveDto
    {
        public BaseInfo materiel_type { get; set; }
        public BaseInfo graph_code { get; set; }
        public int tax_rate { get; set; }
        public string materiel_name { get; set; }
        public int materiel_status { get; set; }
        public string old_materiel_desc { get; set; }
        public BaseInfo unit { get; set; }
        public string pinyin_code { get; set; }
        public long materiel_id { get; set; }
        public string old_materiel_code { get; set; }
        public BaseInfo materiel_source { get; set; }
        public string name { get; set; }
        public string materiel_code { get; set; }
        public string short_name { get; set; }
        public long id { get; set; }
        public BaseInfo category { get; set; }
        public string materiel_desc { get; set; }
        public BaseInfo code_type { get; set; }
        public string extra_attr_value { get; set; }
        public decimal unit_weight { get; set; }
        public decimal unit_volume { get; set; }
        public decimal unit_length { get; set; }
        public decimal unit_width { get; set; }
        public decimal unit_height { get; set; }

    }

    public class extra_attr_value
    {
        public string item_id { get; set; }
        public string item_code { get; set; }
        public string item_name { get; set; }
        public string field_type { get; set; }
        public string attribute_id { get; set; }
        public string attribute_name { get; set; }
        public string en_attribute_name { get; set; }
    }
}
